package com.tianyi.dao.entity.productInfo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ProductInfo implements Serializable {
    /**
     * id
     * 表字段 ：id
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Long id;

    /**
     * 创建时间
     * 表字段 ：gmt_create
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Date gmtCreate;

    /**
     * 修改时间
     * 表字段 ：gmt_modified
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Date gmtModified;

    /**
     * 货号
     * 表字段 ：product_no
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private String productNo;

    /**
     * 名称
     * 表字段 ：product_name
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private String productName;

    /**
     * 品牌id
     * 表字段 ：brand_id
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Long brandId;

    /**
     * 分类id
     * 表字段 ：classify_id
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Long classifyId;

    /**
     * 价格
     * 表字段 ：price
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private BigDecimal price;

    /**
     * 颜色
     * 表字段 ：colour
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private String colour;

    /**
     * 库存
     * 表字段 ：inventory
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Integer inventory;

    /**
     * 操作人
     * 表字段 ：operator
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Long operator;

    /**
     * 乐观锁
     * 表字段 ：version
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Integer version;

    /**
     * 年度
     * 表字段 ：annual
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private String annual;

    /**
     * 季度
     * 表字段 ：quarter
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private String quarter;

    /**
     * 开放时间开始
     * 表字段 ：open_start
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Date openStart;

    /**
     * 开放时间结束
     * 表字段 ：open_end
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private Date openEnd;

    /**
     * 状态-上架
     * 表字段 ：status
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private String status;

    /**
     * 衣服尺码, S M L XL 之类
     * 表字段 ：size
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private String size;

    private String ext1;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    private static final long serialVersionUID = 1L;


    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withId(Long id) {
        this.setId(id);
        return this;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withGmtCreate(Date gmtCreate) {
        this.setGmtCreate(gmtCreate);
        return this;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withGmtModified(Date gmtModified) {
        this.setGmtModified(gmtModified);
        return this;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getProductNo() {
        return productNo;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withProductNo(String productNo) {
        this.setProductNo(productNo);
        return this;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo == null ? null : productNo.trim();
    }

    public String getProductName() {
        return productName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withProductName(String productName) {
        this.setProductName(productName);
        return this;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Long getBrandId() {
        return brandId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withBrandId(Long brandId) {
        this.setBrandId(brandId);
        return this;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getClassifyId() {
        return classifyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withClassifyId(Long classifyId) {
        this.setClassifyId(classifyId);
        return this;
    }

    public void setClassifyId(Long classifyId) {
        this.classifyId = classifyId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withPrice(BigDecimal price) {
        this.setPrice(price);
        return this;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getColour() {
        return colour;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withColour(String colour) {
        this.setColour(colour);
        return this;
    }

    public void setColour(String colour) {
        this.colour = colour == null ? null : colour.trim();
    }

    public Integer getInventory() {
        return inventory;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withInventory(Integer inventory) {
        this.setInventory(inventory);
        return this;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public Long getOperator() {
        return operator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withOperator(Long operator) {
        this.setOperator(operator);
        return this;
    }

    public void setOperator(Long operator) {
        this.operator = operator;
    }

    public Integer getVersion() {
        return version;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withVersion(Integer version) {
        this.setVersion(version);
        return this;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getAnnual() {
        return annual;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withAnnual(String annual) {
        this.setAnnual(annual);
        return this;
    }

    public void setAnnual(String annual) {
        this.annual = annual == null ? null : annual.trim();
    }

    public String getQuarter() {
        return quarter;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withQuarter(String quarter) {
        this.setQuarter(quarter);
        return this;
    }

    public void setQuarter(String quarter) {
        this.quarter = quarter == null ? null : quarter.trim();
    }

    public Date getOpenStart() {
        return openStart;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withOpenStart(Date openStart) {
        this.setOpenStart(openStart);
        return this;
    }

    public void setOpenStart(Date openStart) {
        this.openStart = openStart;
    }

    public Date getOpenEnd() {
        return openEnd;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withOpenEnd(Date openEnd) {
        this.setOpenEnd(openEnd);
        return this;
    }

    public void setOpenEnd(Date openEnd) {
        this.openEnd = openEnd;
    }

    public String getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    public ProductInfo withStatus(String status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table product_info
     *
     * @mbg.generated Sun Jul 19 22:09:19 CST 2020
     */
    @Override
    public String toString() {
        return "ProductInfo{" +
                "id=" + id +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", productNo='" + productNo + '\'' +
                ", productName='" + productName + '\'' +
                ", brandId=" + brandId +
                ", classifyId=" + classifyId +
                ", price=" + price +
                ", colour='" + colour + '\'' +
                ", inventory=" + inventory +
                ", operator=" + operator +
                ", version=" + version +
                ", annual='" + annual + '\'' +
                ", quarter='" + quarter + '\'' +
                ", openStart=" + openStart +
                ", openEnd=" + openEnd +
                ", status='" + status + '\'' +
                ", size='" + size + '\'' +
                ", ext1='" + ext1 + '\'' +
                '}';
    }
}